package com.smart.upload.service.impl;

import org.springframework.stereotype.Component;

import com.smart.upload.bean.UserInfo;
import com.smart.upload.service.UserInfoService;
import com.smart.upload.util.UploadSessionUtil;

/**
 * <b>Description:从session中获取用户信息</b><br>
 * @author 唐海洋
 * @version 1.0 2016-8-5 下午2:21:00
 */
@Component("loginSessionUserInfoService")
public class LoginSessionUserInfoServiceImpl implements UserInfoService{

	@Override
	public UserInfo get() {
		return UploadSessionUtil.getUserInfo();
	}
}
